package jnpf.property.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import jnpf.permission.service.AuthorizeService;
import jnpf.property.entity.ZcglPropertyRepairItemEntity;
import jnpf.property.mapper.ZcglPropertyRepairItemMapper;
import jnpf.property.model.zcglpropertyrepair.ZcglPropertyRepairPagination;
import jnpf.property.service.ZcglPropertyRepairItemService;
import jnpf.util.GeneraterSwapUtil;
import jnpf.util.ServletUtil;
import jnpf.util.UserProvider;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 *
 * ZcglPropertyRepair
 * 版本： V3.2.0
 * 版权： 智果云科技（https://www.jnpfsoft.com）
 * 作者： JNPF开发平台组
 * 日期： 2024-11-14
 */
@Service
public class ZcglPropertyRepairItemServiceImpl extends ServiceImpl<ZcglPropertyRepairItemMapper, ZcglPropertyRepairItemEntity> implements ZcglPropertyRepairItemService {


        @Autowired
        private GeneraterSwapUtil generaterSwapUtil;

        @Autowired
        private UserProvider userProvider;

        @Autowired
        private AuthorizeService authorizeService;
@Override
public QueryWrapper<ZcglPropertyRepairItemEntity> getChild(ZcglPropertyRepairPagination pagination, QueryWrapper<ZcglPropertyRepairItemEntity> zcglPropertyRepairItemQueryWrapper){
    boolean pcPermission = false;
    boolean appPermission = false;
    boolean	isPc = ServletUtil.getHeader("jnpf-origin").equals("pc");
    if(isPc){
        }

        return zcglPropertyRepairItemQueryWrapper;
		}

}
